﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using CashFlow.Entities;
using System.Threading;

namespace CashFlow.Entities
{
	public class AppState
	{
		/// <summary>
		/// Gets or sets the tenantId.
		/// </summary>
		/// <value>The tenantId.</value>
		public static string TenantId
		{
			get 
			{
				var k = Thread.CurrentPrincipal.Identity.Name;
				return Thread.CurrentPrincipal.Identity.Name;
			}
		}
	}
}